package com.adinnet.admin.schoolWebsite.mapper;

import com.adinnet.admin.schoolWebsite.model.SchoolWebsite;
import com.adinnet.admin.schoolWebsite.model.vo.SchoolWebsiteReq;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 校区网点 Mapper 接口
 * </p>
 *
 * @author zYshuai
 * @since 2020-12-16
 */
public interface SchoolWebsiteMapper extends BaseMapper<SchoolWebsite> {

    void delSchoolWebsite(@Param("schoolWebsiteId") Integer schoolWebsiteId);

    List<SchoolWebsiteReq> schoolWebsiteList(Page<SchoolWebsiteReq> ipage, @Param("keyword") String keyword);
}
